package com.lantosec.hmrp.modules.workflow.vo;

import lombok.Data;
import org.flowable.engine.repository.ProcessDefinition;

@Data
public class FlowProcdefVO {

    public FlowProcdefVO(){}

    public FlowProcdefVO(ProcessDefinition entity){
        id = entity.getId();
        category=entity.getCategory();
        name = entity.getName();
        key = entity.getKey();
        version = entity.getVersion();
        deploymentId = entity.getDeploymentId();
        resourceName = entity.getResourceName();
        dgrmResourceName = entity.getDiagramResourceName();
        descriptionl = entity.getDescription();
    }

    private String id;
    private Integer rev;
    private String category;
    private String name;
    private String key;
    private Integer version;
    private String deploymentId;
    private String resourceName;
    private String dgrmResourceName;
    private String descriptionl;
    private Integer hasStartFormKey;
    private Integer hasGraphicalNotation;
    private Integer suspensionState;
    private String tenantId;
    private String engineVersion;
    private String deployTime;
}
